package com.j283_5.wisdom_park.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
public class CarRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 车辆详情id
     */
    @TableId(value = "crec_id", type = IdType.AUTO)
    private Integer crecId;

    /**
     * 绑定车辆进出详细信息
     */
    private Integer crecMark;

    /**
     * 0为进入，1为出去
     */
    private Integer creaIo;

    /**
     * 进出时间
     */
    private LocalDateTime creaTime;


    public Integer getCrecId() {
        return crecId;
    }

    public void setCrecId(Integer crecId) {
        this.crecId = crecId;
    }

    public Integer getCrecMark() {
        return crecMark;
    }

    public void setCrecMark(Integer crecMark) {
        this.crecMark = crecMark;
    }

    public Integer getCreaIo() {
        return creaIo;
    }

    public void setCreaIo(Integer creaIo) {
        this.creaIo = creaIo;
    }

    public LocalDateTime getCreaTime() {
        return creaTime;
    }

    public void setCreaTime(LocalDateTime creaTime) {
        this.creaTime = creaTime;
    }

    @Override
    public String toString() {
        return "CarRecord{" +
        "crecId=" + crecId +
        ", crecMark=" + crecMark +
        ", creaIo=" + creaIo +
        ", creaTime=" + creaTime +
        "}";
    }
}
